#ifndef _ENESIM_PARSER_H
#define _ENESIM_PARSER_H

#include "Enesim.h"

typedef struct _Property Property;
typedef struct _Renderer Renderer;
typedef enum _Type Type;

enum _Type
{
	PROPERTY_UNSIGNED_INT,
	PROPERTY_INT,
	PROPERTY_COLOR,
	PROPERTY_FLOAT,
	PROPERTY_COORD,
	PROPERTY_DOUBLE,
	PROPERTY_SURFACE,
	PROPERTY_PATH,
	PROPERTY_STRING,
	PROPERTIES,
};

struct _Property
{
	Type type;
	char *name;
};

struct _Renderer
{
	char *name;
	char *parent;
	Eina_List *properties;
};

extern Eina_List *renderers;

#endif
